package com.wlyy.bcwlw.sys.permission.entity;

import org.directwebremoting.annotations.DataTransferObject;

import com.rework.joss.persistence.convention.annotation.GeneratedValue;
import com.rework.joss.persistence.convention.annotation.Id;
import com.rework.joss.persistence.convention.annotation.Table;
import com.rework.joss.persistence.convention.annotation.Transient;
import com.wlyy.bcwlw.base.BaseDTO;



/**
 * 
 * @ClassName. ModulePermissionDTO
 * @Description. 权限-模块
 * @author zhangyang
 * @date 2015年8月10日 下午5:18:01
 * @version V1.0
 */
@DataTransferObject
@Table(name="sys_module_permission")
public class ModulePermissionDTO extends BaseDTO{
    /** 
	* @Fields serialVersionUID : TODO
	*/ 
	@Transient
	private static final long serialVersionUID = 5518354938507692410L;

	/**  关系id. */
	@GeneratedValue(generator = "UUID")
	@Id
    private String id;

    /**  模块id. */
    private String moduleId;

    /**  权限id. */
    private String permissionId;

    /**
     * 获取关系id.
     *
     * @return id - 关系id
     */
    public String getId() {
        return id;
    }

    /**
     * 设置关系id.
     *
     * @param id 关系id
     */
    public void setId(String id) {
        this.id = id;
    }
    
    

    /**
     * Get the 模块id.
     *
     * @return the 模块id
     */
    public String getModuleId() {
		return moduleId;
	}

	/**
	 * Set the 模块id.
	 *
	 * @param moduleId the new 模块id
	 */
	public void setModuleId(String moduleId) {
		this.moduleId = moduleId;
	}

	/**
	 * 获取权限id.
	 *
	 * @return permission_id - 权限id
	 */
    public String getPermissionId() {
        return permissionId;
    }

    /**
     * 设置权限id.
     *
     * @param permissionId 权限id
     */
    public void setPermissionId(String permissionId) {
        this.permissionId = permissionId;
    }
}